package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Sensitive;
import com.ruoyi.common.core.domain.SearchEntity;
import com.ruoyi.common.enums.DesensitizedType;
import lombok.Data;
import com.ruoyi.common.annotation.Excel;
import lombok.EqualsAndHashCode;

import java.util.Arrays;
import java.util.List;

/**
 * 系统会员信息对象 t_members
 * 
 * @author 陈斌斌
 * @date 2025-09-17
 */
@Data
@TableName("t_members")
@EqualsAndHashCode(callSuper = true)
public class Members extends SearchEntity
{

    /** 会员唯一标识ID */
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    /** 会员全名 */
    @Excel(name = "会员全名(必填)",sort = 1)
    private String fullName;

    /** 联系电话 */
    @Excel(name = "联系电话(必填)",sort = 2)
    private String phone;

    /** 性别 */
    @Excel(name = "性别(必填 男或者女或者未知)",dictType = "sys_user_sex",sort = 3,width = 24)
    private String gender;

    /** 积分余额 */
    @Excel(name = "积分余额(必填,积分大于等于0)",sort = 4,width = 24)
    private Long pointsBalance;

    /** 账户状态 */
    @Excel(name = "账户状态(必填) 激活或者禁用",dictType = "m_status",sort = 5,width = 24)
    private String status;
    @TableField(exist = false)
    private String eOrp;
    @TableField(exist = false)
    private String fileName;
    @TableField(exist = false)
    private String balance;
    /**
     * 导出pdf
     */
    public static List<String> listNames = Arrays.asList("会员全名", "联系电话", "性别", "积分余额","账户状态","备注信息","注册时间","修改时间","创建人","修改人");
}
